﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using WSAP;

namespace LagrangeBeam
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 求解
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AnalysisButton_Click(object sender, EventArgs e)
        {
            LagrangeTest.Test(
                Convert.ToDouble(this.SpanLengthTextbox.Text),
                Convert.ToDouble(this.DeflectTextbox.Text),
                Convert.ToDouble(this.ATextbox.Text),
                Convert.ToDouble(this.ETextbox.Text),
                Convert.ToDouble(this.LoadTextbox.Text),
                this.LargeDispCheckbox.Checked
                ) ;
        }
    }
}
